

// 职位大类选项列表
var PCLOptions = new Array()

// 职位小类选项列表
var CCLOptions = new Array()

GenerateJobCategoryList();

// 生成职位类别选项列表
function GenerateJobCategoryList()
{
    var ii = 0
    var jj = 0
    
    PCLOptions[ii++] = "计算机业(IT)类|计算机业(IT)类"
    PCLOptions[ii++] = "销售类|销售类"
    PCLOptions[ii++] = "市场营销/公关类|市场营销/公关类"
    PCLOptions[ii++] = "客户服务类|客户服务类"
    PCLOptions[ii++] = "经营/管理类|经营/管理类"
    PCLOptions[ii++] = "财务/审(统)计类|财务/审(统)计类"
    PCLOptions[ii++] = "企业文职类|企业文职类"
    PCLOptions[ii++] = "行政/人事类|行政/人事类"
    PCLOptions[ii++] = "工业/工厂类|工业/工厂类"
    PCLOptions[ii++] = "电子通讯/电气(器)类|电子通讯/电气(器)类"
    PCLOptions[ii++] = "机械(电)/仪表类|机械(电)/仪表类"
    PCLOptions[ii++] = "金融/保险/证券类|金融/保险/证券类"
    PCLOptions[ii++] = "房地产/建筑施工类|房地产/建筑施工类"
    PCLOptions[ii++] = "广告(装潢、包装)设计类|广告(装潢、包装)设计类"
    PCLOptions[ii++] = "文体/教育/培训类|文体/教育/培训类"
    PCLOptions[ii++] = "卫生医疗/美容保健类|卫生医疗/美容保健类"
    PCLOptions[ii++] = "化工/制药类|化工/制药类"
    PCLOptions[ii++] = "能源动力类|能源动力类"
    PCLOptions[ii++] = "宾馆饭店/餐饮旅游类|宾馆饭店/餐饮旅游类"
    PCLOptions[ii++] = "商店/零售服务类|商店/零售服务类"
    PCLOptions[ii++] = "技工/普工类|技工/普工类"
    PCLOptions[ii++] = "轻工类|轻工类"
    PCLOptions[ii++] = "后勤保障类|后勤保障类"
    PCLOptions[ii++] = "翻译类|翻译类"
    PCLOptions[ii++] = "物流/贸易类|物流/贸易类"
    PCLOptions[ii++] = "咨询/顾问类|咨询/顾问类"
    PCLOptions[ii++] = "法律专业人员类|法律专业人员类"
    PCLOptions[ii++] = "影视/摄影专业类|影视/摄影专业类"
    PCLOptions[ii++] = "编辑/发行类|编辑/发行类"
    PCLOptions[ii++] = "家具家电/工艺品礼品/玩具类|家具家电/工艺品礼品/玩具类"
    PCLOptions[ii++] = "其他类|其他类"
    
    
    ii = 0
    jj = 0
    // ii = 0
    CCLOptions[ii] = new Array()
    CCLOptions[ii][jj++] = "计算机业(IT)类-请选择子类|请选择子类"
    CCLOptions[ii][jj++] = "计算机业(IT)类-数据库开发与管理(DBA)|数据库开发与管理(DBA)"
    CCLOptions[ii][jj++] = "计算机业(IT)类-系统分析员|系统分析员"
    CCLOptions[ii][jj++] = "计算机业(IT)类-软件工程师|软件工程师"
    CCLOptions[ii][jj++] = "计算机业(IT)类-网页设计师|网页设计师"
    CCLOptions[ii][jj++] = "计算机业(IT)类-电脑美工|电脑美工"
    CCLOptions[ii][jj++] = "计算机业(IT)类-网站策划|网站策划"
    CCLOptions[ii][jj++] = "计算机业(IT)类-网站编辑|网站编辑"
    CCLOptions[ii][jj++] = "计算机业(IT)类-网络工程师|网络工程师"
    CCLOptions[ii][jj++] = "计算机业(IT)类-栏目主持人|栏目主持人"
    CCLOptions[ii][jj++] = "计算机业(IT)类-INTERNET/WEB/电子商务|INTERNET/WEB/电子商务"
    CCLOptions[ii][jj++] = "计算机业(IT)类-测试工程师|测试工程师"
    CCLOptions[ii][jj++] = "计算机业(IT)类-MRP/ERP/SAP实施工程师|MRP/ERP/SAP实施工程师"
    CCLOptions[ii][jj++] = "计算机业(IT)类-系统集成/技术支持|系统集成/技术支持"
    CCLOptions[ii][jj++] = "计算机业(IT)类-硬件工程师|硬件工程师"
    CCLOptions[ii][jj++] = "计算机业(IT)类-系统维护员|系统维护员"
    CCLOptions[ii][jj++] = "计算机业(IT)类-计算机辅助设计与绘图|计算机辅助设计与绘图"
    CCLOptions[ii][jj++] = "计算机业(IT)类-多媒体设计与开发|多媒体设计与开发"
    CCLOptions[ii][jj++] = "计算机业(IT)类-网络管理员|网络管理员"
    CCLOptions[ii++][jj++] = "计算机业(IT)类-其它相关职位|其它相关职位"
    
    jj = 0
    // ii = 1
    CCLOptions[ii] = new Array()
    CCLOptions[ii][jj++] = "销售类-请选择子类|请选择子类"
    CCLOptions[ii][jj++] = "销售类-销售部经理|销售部经理"
    CCLOptions[ii][jj++] = "销售类-销售主管|销售主管"
    CCLOptions[ii][jj++] = "销售类-销售代表|销售代表"
    CCLOptions[ii][jj++] = "销售类-销售助理|销售助理"
    CCLOptions[ii][jj++] = "销售类-推（营、促）销员|推（营、促）销员"
    CCLOptions[ii][jj++] = "销售类-销售工程师|销售工程师"
    CCLOptions[ii][jj++] = "销售类-商务经理/商务专员|商务经理/商务专员"
    CCLOptions[ii][jj++] = "销售类-商务人员|商务人员"
    CCLOptions[ii][jj++] = "销售类-渠道经理|渠道经理"
    CCLOptions[ii][jj++] = "销售类-渠道主管|渠道主管"
    CCLOptions[ii][jj++] = "销售类-区域销售经理|区域销售经理"
    CCLOptions[ii][jj++] = "销售类-分销经理|分销经理"
    CCLOptions[ii++][jj++] = "销售类-其它相关职位|其它相关职位"
    
    jj = 0
    // ii = 2
    CCLOptions[ii] = new Array()
    CCLOptions[ii][jj++] = "市场营销/公关类-请选择子类|请选择子类"
    CCLOptions[ii][jj++] = "市场营销/公关类-市场/营销经理|市场/营销经理"
    CCLOptions[ii][jj++] = "市场营销/公关类-市场助理/专员|市场助理/专员"
    CCLOptions[ii][jj++] = "市场营销/公关类-市场部主管|市场部主管"
    CCLOptions[ii][jj++] = "市场营销/公关类-市场调研/业务分析|市场调研/业务分析"
    CCLOptions[ii][jj++] = "市场营销/公关类-市场/行销企划|市场/行销企划"
    CCLOptions[ii][jj++] = "市场营销/公关类-产品/品牌企划|产品/品牌企划"
    CCLOptions[ii][jj++] = "市场营销/公关类-品牌经理|品牌经理"
    CCLOptions[ii][jj++] = "市场营销/公关类-价格企划|价格企划"
    CCLOptions[ii][jj++] = "市场营销/公关类-广告企划|广告企划"
    CCLOptions[ii][jj++] = "市场营销/公关类-新闻媒介企划|新闻媒介企划"
    CCLOptions[ii][jj++] = "市场营销/公关类-市场推广/拓展/合作|市场推广/拓展/合作"
    CCLOptions[ii][jj++] = "市场营销/公关类-促销/礼仪专员|促销/礼仪专员"
    CCLOptions[ii][jj++] = "市场营销/公关类-公关经理|公关经理"
    CCLOptions[ii][jj++] = "市场营销/公关类-公关专员|公关专员"
    CCLOptions[ii][jj++] = "市场营销/公关类-美工师|美工师"
    CCLOptions[ii++][jj++] = "市场营销/公关类-其它相关职位|其它相关职位"
    
    jj = 0
    // ii = 3
    CCLOptions[ii] = new Array()
    CCLOptions[ii][jj++] = "客户服务类-请选择子类|请选择子类"
    CCLOptions[ii][jj++] = "客户服务类-客户服务经理|客户服务经理"
    CCLOptions[ii][jj++] = "客户服务类-客户数据库管理|客户数据库管理"
    CCLOptions[ii][jj++] = "客户服务类-客户关系管理|客户关系管理"
    CCLOptions[ii][jj++] = "客户服务类-客户培训|客户培训"
    CCLOptions[ii][jj++] = "客户服务类-客户咨询|客户咨询"
    CCLOptions[ii][jj++] = "客户服务类-热线咨询|热线咨询"
    CCLOptions[ii][jj++] = "客户服务类-客户服务|客户服务"
    CCLOptions[ii][jj++] = "客户服务类-售前/售后支持|售前/售后支持"
    CCLOptions[ii][jj++] = "客户服务类-投诉处理|投诉处理"
    CCLOptions[ii][jj++] = "客户服务类-投诉监控|投诉监控"
    CCLOptions[ii][jj++] = "客户服务类-客户主任|客户主任"
    CCLOptions[ii][jj++] = "客户服务类-接待处主任|接待处主任"
    CCLOptions[ii++][jj++] = "客户服务类-其它相关职位|其它相关职位"
    
    jj = 0
    // ii = 4
    CCLOptions[ii] = new Array()
    CCLOptions[ii][jj++] = "经营/管理类-请选择子类|请选择子类"
    CCLOptions[ii][jj++] = "经营/管理类-(正/副)总裁/总经理/CEO|(正/副)总裁/总经理/CEO"
    CCLOptions[ii][jj++] = "经营/管理类-厂长/副厂长|厂长/副厂长"
    CCLOptions[ii][jj++] = "经营/管理类-技术总监CTO|技术总监CTO"
    CCLOptions[ii][jj++] = "经营/管理类-市场/营销总监|市场/营销总监"
    CCLOptions[ii][jj++] = "经营/管理类-人力资源总监|人力资源总监"
    CCLOptions[ii][jj++] = "经营/管理类-行政总监|行政总监"
    CCLOptions[ii][jj++] = "经营/管理类-信息主管/CIO|信息主管/CIO"
    CCLOptions[ii][jj++] = "经营/管理类-管理顾问|管理顾问"
    CCLOptions[ii][jj++] = "经营/管理类-工程总监|工程总监"
    CCLOptions[ii][jj++] = "经营/管理类-部门经理|部门经理"
    CCLOptions[ii][jj++] = "经营/管理类-部门主管|部门主管"
    CCLOptions[ii][jj++] = "经营/管理类-总经理助理|总经理助理"
    CCLOptions[ii][jj++] = "经营/管理类-经理助理|经理助理"
    CCLOptions[ii][jj++] = "经营/管理类-项目经理|项目经理"
    CCLOptions[ii][jj++] = "经营/管理类-财务总监|财务总监"
    CCLOptions[ii++][jj++] = "经营/管理类-其它相关职位|其它相关职位"
    
    jj = 0
    // ii = 5
    CCLOptions[ii] = new Array()
    CCLOptions[ii][jj++] = "财务/审(统)计类-请选择子类|请选择子类"
    CCLOptions[ii][jj++] = "财务/审(统)计类-财务主管/经理|财务主管/经理"
    CCLOptions[ii][jj++] = "财务/审(统)计类-会计|会计"
    CCLOptions[ii][jj++] = "财务/审(统)计类-会计助理|会计助理"
    CCLOptions[ii][jj++] = "财务/审(统)计类-出纳|出纳"
    CCLOptions[ii][jj++] = "财务/审(统)计类-注册会计师|注册会计师"
    CCLOptions[ii][jj++] = "财务/审(统)计类-注册审计师|注册审计师"
    CCLOptions[ii][jj++] = "财务/审(统)计类-审计|审计"
    CCLOptions[ii][jj++] = "财务/审(统)计类-总账主任|总账主任"
    CCLOptions[ii][jj++] = "财务/审(统)计类-出纳主任|出纳主任"
    CCLOptions[ii][jj++] = "财务/审(统)计类-审计(核)主管|审计(核)主管"
    CCLOptions[ii][jj++] = "财务/审(统)计类-统计|统计"
    CCLOptions[ii][jj++] = "财务/审(统)计类-财务分析|财务分析"
    CCLOptions[ii][jj++] = "财务/审(统)计类-成本分析/核算|成本分析/核算"
    CCLOptions[ii][jj++] = "财务/审(统)计类-帐目(进出口)管理|帐目(进出口)管理"
    CCLOptions[ii][jj++] = "财务/审(统)计类-营运会计经理|营运会计经理"
    CCLOptions[ii][jj++] = "财务/审(统)计类-审计会计经理|审计会计经理"
    CCLOptions[ii++][jj++] = "财务/审(统)计类-其它相关职位|其它相关职位"
    
    jj = 0
    // ii = 6
    CCLOptions[ii] = new Array()
    CCLOptions[ii][jj++] = "企业文职类-请选择子类|请选择子类"
    CCLOptions[ii][jj++] = "企业文职类-图书情报/档案管理|图书情报/档案管理"
    CCLOptions[ii][jj++] = "企业文职类-文案策划/资料编写|文案策划/资料编写"
    CCLOptions[ii][jj++] = "企业文职类-高级文员|高级文员"
    CCLOptions[ii][jj++] = "企业文职类-高级秘书|高级秘书"
    CCLOptions[ii][jj++] = "企业文职类-电脑操作员/打字员|电脑操作员/打字员"
    CCLOptions[ii][jj++] = "企业文职类-前台文员接待|前台文员接待"
    CCLOptions[ii][jj++] = "企业文职类-话务员|话务员"
    CCLOptions[ii][jj++] = "企业文职类-文员|文员"
    CCLOptions[ii++][jj++] = "企业文职类-其它相关职位|其它相关职位"
    
    jj = 0
    // ii = 7
    CCLOptions[ii] = new Array()
    CCLOptions[ii][jj++] = "行政/人事类-请选择子类|请选择子类"
    CCLOptions[ii][jj++] = "行政/人事类-人事经理|人事经理"
    CCLOptions[ii][jj++] = "行政/人事类-行政经理|行政经理"
    CCLOptions[ii][jj++] = "行政/人事类-人事助理|人事助理"
    CCLOptions[ii][jj++] = "行政/人事类-行政助理|行政助理"
    CCLOptions[ii][jj++] = "行政/人事类-人事文员|人事文员"
    CCLOptions[ii][jj++] = "行政/人事类-行政文员|行政文员"
    CCLOptions[ii][jj++] = "行政/人事类-总务|总务"
    CCLOptions[ii][jj++] = "行政/人事类-薪资福利经理/主管/专员|薪资福利经理/主管/专员"
    CCLOptions[ii][jj++] = "行政/人事类-绩效考核经理/主管/专员|绩效考核经理/主管/专员"
    CCLOptions[ii][jj++] = "行政/人事类-员工培训经理/主管|员工培训经理/主管"
    CCLOptions[ii][jj++] = "行政/人事类-招聘经理/主任|招聘经理/主任"
    CCLOptions[ii][jj++] = "行政/人事类-招聘专员|招聘专员"
    CCLOptions[ii++][jj++] = "行政/人事类-其它相关职位|其它相关职位"
    
    jj = 0
    // ii = 8
    CCLOptions[ii] = new Array()
    CCLOptions[ii][jj++] = "工业/工厂类-请选择子类|请选择子类"
    CCLOptions[ii][jj++] = "工业/工厂类-产品开发|产品开发"
    CCLOptions[ii][jj++] = "工业/工厂类-生产经理|生产经理"
    CCLOptions[ii][jj++] = "工业/工厂类-生管主管/督导|生管主管/督导"
    CCLOptions[ii][jj++] = "工业/工厂类-生管员|生管员"
    CCLOptions[ii][jj++] = "工业/工厂类-PE工程师|PE工程师"
    CCLOptions[ii][jj++] = "工业/工厂类-IE工程师|IE工程师"
    CCLOptions[ii][jj++] = "工业/工厂类-工艺工程师|工艺工程师"
    CCLOptions[ii][jj++] = "工业/工厂类-组长/拉长|组长/拉长"
    CCLOptions[ii][jj++] = "工业/工厂类-工程经理/主管|工程经理/主管"
    CCLOptions[ii][jj++] = "工业/工厂类-工程设备工程师|工程设备工程师"
    CCLOptions[ii][jj++] = "工业/工厂类-品管经理/主管|品管经理/主管"
    CCLOptions[ii][jj++] = "工业/工厂类-品质工程师|品质工程师"
    CCLOptions[ii][jj++] = "工业/工厂类-品管员|品管员"
    CCLOptions[ii][jj++] = "工业/工厂类-ISO专员|ISO专员"
    CCLOptions[ii][jj++] = "工业/工厂类-物控经理/主管|物控经理/主管"
    CCLOptions[ii][jj++] = "工业/工厂类-物控员|物控员"
    CCLOptions[ii][jj++] = "工业/工厂类-仓库管理员|仓库管理员"
    CCLOptions[ii][jj++] = "工业/工厂类-计划员/调度员|计划员/调度员"
    CCLOptions[ii][jj++] = "工业/工厂类-设备经理/主管|设备经理/主管"
    CCLOptions[ii][jj++] = "工业/工厂类-化验/检验员|化验/检验员"
    CCLOptions[ii][jj++] = "工业/工厂类-安全主任|安全主任"
    CCLOptions[ii][jj++] = "工业/工厂类-采购主管|采购主管"
    CCLOptions[ii][jj++] = "工业/工厂类-跟单员|跟单员"
    CCLOptions[ii][jj++] = "工业/工厂类-统计员|统计员"
    CCLOptions[ii][jj++] = "工业/工厂类-采购员|采购员"
    CCLOptions[ii][jj++] = "工业/工厂类-SMT技术员|SMT技术员"
    CCLOptions[ii][jj++] = "工业/工厂类-ME工程师|ME工程师"
    CCLOptions[ii][jj++] = "工业/工厂类-制造课长|制造课长"
    CCLOptions[ii][jj++] = "工业/工厂类-RD经理|RD经理"
    CCLOptions[ii++][jj++] = "工业/工厂类-其它相关职位|其它相关职位"
    
    jj = 0
    // ii = 9
    CCLOptions[ii] = new Array()
    CCLOptions[ii][jj++] = "电子通讯/电气(器)类-请选择子类|请选择子类"
    CCLOptions[ii][jj++] = "电子通讯/电气(器)类-电子工程师|电子工程师"
    CCLOptions[ii][jj++] = "电子通讯/电气(器)类-电气工程师|电气工程师"
    CCLOptions[ii][jj++] = "电子通讯/电气(器)类-电器工程师|电器工程师"
    CCLOptions[ii][jj++] = "电子通讯/电气(器)类-电力工程师|电力工程师"
    CCLOptions[ii][jj++] = "电子通讯/电气(器)类-电信工程师/通讯工程师|电信工程师/通讯工程师"
    CCLOptions[ii][jj++] = "电子通讯/电气(器)类-变压器/磁电工程师|变压器/磁电工程师"
    CCLOptions[ii][jj++] = "电子通讯/电气(器)类-电声工程师|电声工程师"
    CCLOptions[ii][jj++] = "电子通讯/电气(器)类-数码产品开发工程师|数码产品开发工程师"
    CCLOptions[ii][jj++] = "电子通讯/电气(器)类-单片机/DSP/底层软件开发|单片机/DSP/底层软件开发"
    CCLOptions[ii][jj++] = "电子通讯/电气(器)类-电路(布线)设计|电路(布线)设计"
    CCLOptions[ii][jj++] = "电子通讯/电气(器)类-智能大厦/综合布线/弱电|智能大厦/综合布线/弱电"
    CCLOptions[ii][jj++] = "电子通讯/电气(器)类-光源与照明工程|光源与照明工程"
    CCLOptions[ii][jj++] = "电子通讯/电气(器)类-灯饰研发工程师|灯饰研发工程师"
    CCLOptions[ii][jj++] = "电子通讯/电气(器)类-电气维修|电气维修"
    CCLOptions[ii][jj++] = "电子通讯/电气(器)类-自动控制|自动控制"
    CCLOptions[ii][jj++] = "电子通讯/电气(器)类-无线电技术|无线电技术"
    CCLOptions[ii][jj++] = "电子通讯/电气(器)类-半导体技术|半导体技术"
    CCLOptions[ii][jj++] = "电子通讯/电气(器)类-家用电器|家用电器"
    CCLOptions[ii][jj++] = "电子通讯/电气(器)类-小家电|小家电"
    CCLOptions[ii][jj++] = "电子通讯/电气(器)类-测试工程师|测试工程师"
    CCLOptions[ii++][jj++] = "电子通讯/电气(器)类-其它相关职位|其它相关职位"

    jj = 0
    // ii = 10
    CCLOptions[ii] = new Array()
    CCLOptions[ii][jj++] = "机械(电)/仪表类-请选择子类|请选择子类"
    CCLOptions[ii][jj++] = "机械(电)/仪表类-机械设计与制造|机械设计与制造"
    CCLOptions[ii][jj++] = "机械(电)/仪表类-机械工程师|机械工程师"
    CCLOptions[ii][jj++] = "机械(电)/仪表类-机械工艺师|机械工艺师"
    CCLOptions[ii][jj++] = "机械(电)/仪表类-模具工程师|模具工程师"
    CCLOptions[ii][jj++] = "机械(电)/仪表类-刀具工程师|刀具工程师"
    CCLOptions[ii][jj++] = "机械(电)/仪表类-CNC工程师|CNC工程师"
    CCLOptions[ii][jj++] = "机械(电)/仪表类-构设计师|结构设计师"
    CCLOptions[ii][jj++] = "机械(电)/仪表类-机电一体化|机电一体化"
    CCLOptions[ii][jj++] = "机械(电)/仪表类-铸造/锻造|铸造/锻造"
    CCLOptions[ii][jj++] = "机械(电)/仪表类-注塑成型|注塑成型"
    CCLOptions[ii][jj++] = "机械(电)/仪表类-气动/液压|气动/液压"
    CCLOptions[ii][jj++] = "机械(电)/仪表类-机械制图|机械制图"
    CCLOptions[ii][jj++] = "机械(电)/仪表类-精密机械/仪器仪表|精密机械/仪器仪表"
    CCLOptions[ii][jj++] = "机械(电)/仪表类-设备修理|设备修理"
    CCLOptions[ii][jj++] = "机械(电)/仪表类-汽车/摩托车工程师|汽车/摩托车工程师"
    CCLOptions[ii][jj++] = "机械(电)/仪表类-五金矿产/金属制品|五金矿产/金属制品"
    CCLOptions[ii][jj++] = "机械(电)/仪表类-锅炉/压力容器|锅炉/压力容器"
    CCLOptions[ii][jj++] = "机械(电)/仪表类-纺织机械|纺织机械"
    CCLOptions[ii][jj++] = "机械(电)/仪表类-船舶机械|船舶机械"
    CCLOptions[ii][jj++] = "机械(电)/仪表类-食品机械|食品机械"
    CCLOptions[ii][jj++] = "机械(电)/仪表类-焊接机械|焊接机械"
    CCLOptions[ii++][jj++] = "机械(电)/仪表类-其它相关职位|其它相关职位"
    
    jj = 0
    // ii = 11
    CCLOptions[ii] = new Array()
    CCLOptions[ii][jj++] = "金融/保险/证券类-请选择子类|请选择子类"
    CCLOptions[ii][jj++] = "金融/保险/证券类-证券期货|证券期货"
    CCLOptions[ii][jj++] = "金融/保险/证券类-银行信贷|银行信贷"
    CCLOptions[ii][jj++] = "金融/保险/证券类-金融投资分析|金融投资分析"
    CCLOptions[ii][jj++] = "金融/保险/证券类-融资经理/主管|融资经理/主管"
    CCLOptions[ii][jj++] = "金融/保险/证券类-出纳员/银行专员|出纳员/银行专员"
    CCLOptions[ii][jj++] = "金融/保险/证券类-预结算专员|预结算专员"
    CCLOptions[ii][jj++] = "金融/保险/证券类-税务专员|税务专员"
    CCLOptions[ii][jj++] = "金融/保险/证券类-评估师|评估师"
    CCLOptions[ii][jj++] = "金融/保险/证券类-炒股操盘手|炒股操盘手"
    CCLOptions[ii][jj++] = "金融/保险/证券类-保险业务/保险经纪人|保险业务/保险经纪人"
    CCLOptions[ii++][jj++] = "金融/保险/证券类-其它相关职位|其它相关职位"
    
    jj = 0
    // ii = 12
    CCLOptions[ii] = new Array()
    CCLOptions[ii][jj++] = "房地产/建筑施工类-请选择子类|请选择子类"
    CCLOptions[ii][jj++] = "房地产/建筑施工类-房地产开发/策划|房地产开发/策划"
    CCLOptions[ii][jj++] = "房地产/建筑施工类-房地产评估|房地产评估"
    CCLOptions[ii][jj++] = "房地产/建筑施工类-房地产中介|房地产中介"
    CCLOptions[ii][jj++] = "房地产/建筑施工类-物业管理|物业管理"
    CCLOptions[ii][jj++] = "房地产/建筑施工类-建筑(结构)工程师|建筑(结构)工程师"
    CCLOptions[ii][jj++] = "房地产/建筑施工类-注册建筑师|注册建筑师"
    CCLOptions[ii][jj++] = "房地产/建筑施工类-建筑制图|建筑制图"
    CCLOptions[ii][jj++] = "房地产/建筑施工类-工程监理|工程监理"
    CCLOptions[ii][jj++] = "房地产/建筑施工类-管道(水、电)|管道(水、电)"
    CCLOptions[ii][jj++] = "房地产/建筑施工类-制冷暖通|制冷暖通"
    CCLOptions[ii][jj++] = "房地产/建筑施工类-给排水/供水(电)工程|给排水/供水(电)工程"
    CCLOptions[ii][jj++] = "房地产/建筑施工类-工民建|工民建"
    CCLOptions[ii][jj++] = "房地产/建筑施工类-工程预决算/施工|工程预决算/施工"
    CCLOptions[ii][jj++] = "房地产/建筑施工类-路桥技术/隧道工程|路桥技术/隧道工程"
    CCLOptions[ii][jj++] = "房地产/建筑施工类-基建/岩土工程|基建/岩土工程"
    CCLOptions[ii][jj++] = "房地产/建筑施工类-港口与航道工程|港口与航道工程"
    CCLOptions[ii][jj++] = "房地产/建筑施工类-园艺工程/园林技术|园艺工程/园林技术"
    CCLOptions[ii++][jj++] = "房地产/建筑施工类-其它相关职位|其它相关职位"
    
    jj = 0
    // ii = 13
    CCLOptions[ii] = new Array()
    CCLOptions[ii][jj++] = "广告(装潢、包装)设计类-请选择子类|请选择子类"
    CCLOptions[ii][jj++] = "广告(装潢、包装)设计类-平面设计|平面设计"
    CCLOptions[ii][jj++] = "广告(装潢、包装)设计类-三维动画设计|三维动画设计"
    CCLOptions[ii][jj++] = "广告(装潢、包装)设计类-多媒体设计与制作|多媒体设计与制作"
    CCLOptions[ii][jj++] = "广告(装潢、包装)设计类-产品包装设计|产品包装设计"
    CCLOptions[ii][jj++] = "广告(装潢、包装)设计类-室内(外)装修/装潢设计|室内(外)装修/装潢设计"
    CCLOptions[ii][jj++] = "广告(装潢、包装)设计类-工艺品设计|工艺品设计"
    CCLOptions[ii][jj++] = "广告(装潢、包装)设计类-工业产品设计|工业产品设计"
    CCLOptions[ii][jj++] = "广告(装潢、包装)设计类-纺织/服饰(装)设计|纺织/服饰(装)设计"
    CCLOptions[ii][jj++] = "广告(装潢、包装)设计类-形象设计|形象设计"
    CCLOptions[ii][jj++] = "广告(装潢、包装)设计类-玩具设计|玩具设计"
    CCLOptions[ii][jj++] = "广告(装潢、包装)设计类-珠宝设计|珠宝设计"
    CCLOptions[ii][jj++] = "广告(装潢、包装)设计类-文案/媒体策划|文案/媒体策划"
    CCLOptions[ii][jj++] = "广告(装潢、包装)设计类-广告设计/创意策划|广告设计/创意策划"
    CCLOptions[ii++][jj++] = "广告(装潢、包装)设计类-其它相关职位|其它相关职位"
    
    jj = 0
    // ii = 14
    CCLOptions[ii] = new Array()
    CCLOptions[ii][jj++] = "文体/教育/培训类-请选择子类|请选择子类"
    CCLOptions[ii][jj++] = "文体/教育/培训类-新闻出版|新闻出版"
    CCLOptions[ii][jj++] = "文体/教育/培训类-记者|记者"
    CCLOptions[ii][jj++] = "文体/教育/培训类-广播电视(影)|广播电视(影)"
    CCLOptions[ii][jj++] = "文体/教育/培训类-文化艺术|文化艺术"
    CCLOptions[ii][jj++] = "文体/教育/培训类-高等教育|高等教育"
    CCLOptions[ii][jj++] = "文体/教育/培训类-中级教育|中级教育"
    CCLOptions[ii][jj++] = "文体/教育/培训类-小学/幼儿教育|小学/幼儿教育"
    CCLOptions[ii][jj++] = "文体/教育/培训类-竞技/体育|竞技/体育"
    CCLOptions[ii][jj++] = "文体/教育/培训类-职业教育/培训|职业教育/培训"
    CCLOptions[ii][jj++] = "文体/教育/培训类-家教|家教"
    CCLOptions[ii][jj++] = "文体/教育/培训类-记者|记者"
    CCLOptions[ii++][jj++] = "文体/教育/培训类-其它相关职位|其它相关职位"
    
    jj = 0
    // ii = 15
    CCLOptions[ii] = new Array()
    CCLOptions[ii][jj++] = "卫生医疗/美容保健类-请选择子类|请选择子类"
    CCLOptions[ii][jj++] = "卫生医疗/美容保健类-医生/医师|医生/医师"
    CCLOptions[ii][jj++] = "卫生医疗/美容保健类-牙科医生|牙科医生"
    CCLOptions[ii][jj++] = "卫生医疗/美容保健类-心理医生|心理医生"
    CCLOptions[ii][jj++] = "卫生医疗/美容保健类-外科医生|外科医生"
    CCLOptions[ii][jj++] = "卫生医疗/美容保健类-妇产科医生|妇产科医生"
    CCLOptions[ii][jj++] = "卫生医疗/美容保健类-预防医生|预防医生"
    CCLOptions[ii][jj++] = "卫生医疗/美容保健类-护士/护理|护士/护理"
    CCLOptions[ii][jj++] = "卫生医疗/美容保健类-保健/健美|保健/健美"
    CCLOptions[ii][jj++] = "卫生医疗/美容保健类-美容/美发|美容/美发"
    CCLOptions[ii][jj++] = "卫生医疗/美容保健类-药剂/中药/西药/药检|药剂/中药/西药/药检"
    CCLOptions[ii][jj++] = "卫生医疗/美容保健类-针灸推拿|针灸推拿"
    CCLOptions[ii][jj++] = "卫生医疗/美容保健类-临床医学|临床医学"
    CCLOptions[ii][jj++] = "卫生医疗/美容保健类-妇幼保健|妇幼保健"
    CCLOptions[ii][jj++] = "卫生医疗/美容保健类-卫生防疫|卫生防疫"
    CCLOptions[ii][jj++] = "卫生医疗/美容保健类-医药代表|医药代表"
    CCLOptions[ii][jj++] = "卫生医疗/美容保健类-医药检验|医药检验"
    CCLOptions[ii][jj++] = "卫生医疗/美容保健类-兽医|兽医"
    CCLOptions[ii++][jj++] = "卫生医疗/美容保健类-其它相关职位|其它相关职位"
    
    jj = 0
    // ii = 16
    CCLOptions[ii] = new Array()
    CCLOptions[ii][jj++] = "化工/制药类-请选择子类|请选择子类"
    CCLOptions[ii][jj++] = "化工/制药类-日用化工|日用化工"
    CCLOptions[ii][jj++] = "化工/制药类-生物化工/生物制药|生物化工/生物制药"
    CCLOptions[ii][jj++] = "化工/制药类-造纸/废品处理|造纸/废品处理"
    CCLOptions[ii][jj++] = "化工/制药类-化学药剂/药品|化学药剂/药品"
    CCLOptions[ii][jj++] = "化工/制药类-玻璃/硅酸盐工业|玻璃/硅酸盐工业"
    CCLOptions[ii][jj++] = "化工/制药类-农药、化肥|农药、化肥"
    CCLOptions[ii][jj++] = "化工/制药类-无机化工|无机化工"
    CCLOptions[ii][jj++] = "化工/制药类-有机化工|有机化工"
    CCLOptions[ii][jj++] = "化工/制药类-精细化工|精细化工"
    CCLOptions[ii][jj++] = "化工/制药类-分析化工|分析化工"
    CCLOptions[ii][jj++] = "化工/制药类-高分子化工/化纤/新材料|高分子化工/化纤/新材料"
    CCLOptions[ii][jj++] = "化工/制药类-电镀化工|电镀化工"
    CCLOptions[ii++][jj++] = "化工/制药类-其它相关职位|其它相关职位"
    
    jj = 0
    // ii = 17
    CCLOptions[ii] = new Array()
    CCLOptions[ii][jj++] = "能源动力类-请选择子类|请选择子类"
    CCLOptions[ii][jj++] = "能源动力类-水利、水电|水利、水电"
    CCLOptions[ii][jj++] = "能源动力类-核电、火电|核电、火电"
    CCLOptions[ii][jj++] = "能源动力类-电厂、电力|电厂、电力"
    CCLOptions[ii][jj++] = "能源动力类-制冷、暖通|制冷、暖通"
    CCLOptions[ii][jj++] = "能源动力类-空调、锅炉|空调、锅炉"
    CCLOptions[ii][jj++] = "能源动力类-石油\天燃气\储运|石油\天燃气\储运"
    CCLOptions[ii][jj++] = "能源动力类-子类燃气|子类燃气"
    CCLOptions[ii++][jj++] = "能源动力类-其它相关职位|其它相关职位"
    
    jj = 0
    // ii = 18
    CCLOptions[ii] = new Array()
    CCLOptions[ii][jj++] = "宾馆饭店/餐饮旅游类-请选择子类|请选择子类"
    CCLOptions[ii][jj++] = "宾馆饭店/餐饮旅游类-大堂经理/副理|大堂经理/副理"
    CCLOptions[ii][jj++] = "宾馆饭店/餐饮旅游类-酒店管理|酒店管理"
    CCLOptions[ii][jj++] = "宾馆饭店/餐饮旅游类-楼面经理/主任|楼面经理/主任"
    CCLOptions[ii][jj++] = "宾馆饭店/餐饮旅游类-服务员/侍者/门童|服务员/侍者/门童"
    CCLOptions[ii][jj++] = "宾馆饭店/餐饮旅游类-高级厨师/调酒师|高级厨师/调酒师"
    CCLOptions[ii][jj++] = "宾馆饭店/餐饮旅游类-前台接待/礼仪/接线生|前台接待/礼仪/接线生"
    CCLOptions[ii][jj++] = "宾馆饭店/餐饮旅游类-业务经理|业务经理"
    CCLOptions[ii][jj++] = "宾馆饭店/餐饮旅游类-线路开发主管|线路开发主管"
    CCLOptions[ii][jj++] = "宾馆饭店/餐饮旅游类-计调经理|计调经理"
    CCLOptions[ii][jj++] = "宾馆饭店/餐饮旅游类-导游|导游"
    CCLOptions[ii][jj++] = "宾馆饭店/餐饮旅游类-伴游|伴游"
    CCLOptions[ii++][jj++] = "其宾馆饭店/餐饮旅游类-它相关职位|其它相关职位"
    
    jj = 0
    // ii = 19
    CCLOptions[ii] = new Array()
    CCLOptions[ii][jj++] = "商店/零售服务类-请选择子类|请选择子类"
    CCLOptions[ii][jj++] = "商店/零售服务类-店长|店长"
    CCLOptions[ii][jj++] = "商店/零售服务类-营销主管|营销主管"
    CCLOptions[ii][jj++] = "商店/零售服务类-营业员/服务员/店员|营业员/服务员/店员"
    CCLOptions[ii][jj++] = "商店/零售服务类-理货员|理货员"
    CCLOptions[ii][jj++] = "商店/零售服务类-导购员|导购员"
    CCLOptions[ii][jj++] = "商店/零售服务类-收银员|收银员"
    CCLOptions[ii++][jj++] = "商店/零售服务类-其它相关职位|其它相关职位"
    
    jj = 0
    // ii = 20
    CCLOptions[ii] = new Array()
    CCLOptions[ii][jj++] = "技工/普工类-请选择子类|请选择子类"
    CCLOptions[ii][jj++] = "技工/普工类-车、铣、刨、磨|车、铣、刨、磨"
    CCLOptions[ii][jj++] = "技工/普工类-钳、钣、铆、冲、焊、铸|钳、钣、铆、冲、焊、铸"
    CCLOptions[ii][jj++] = "技工/普工类-裁、剪、车、缝、熨、烫|裁、剪、车、缝、熨、烫"
    CCLOptions[ii][jj++] = "技工/普工类-水工/木工/油漆工|水工/木工/油漆工"
    CCLOptions[ii][jj++] = "技工/普工类-电工/锅炉工|电工/锅炉工"
    CCLOptions[ii][jj++] = "技工/普工类-普通工人|普通工人"
    CCLOptions[ii++][jj++] = "技工/普工类-其它相关职位|其它相关职位"
    
    jj = 0
    // ii = 21
    CCLOptions[ii] = new Array()
    CCLOptions[ii][jj++] = "轻工类-请选择子类|请选择子类"
    CCLOptions[ii][jj++] = "轻工类-服装纺织|服装纺织"
    CCLOptions[ii][jj++] = "轻工类-印刷/染整技术|印刷/染整技术"
    CCLOptions[ii][jj++] = "轻工类-纸浆造纸工艺|纸浆造纸工艺"
    CCLOptions[ii][jj++] = "轻工类-制鞋/制衣/制革/手袋|制鞋/制衣/制革/手袋"
    CCLOptions[ii][jj++] = "轻工类-食品工程/糖酒饮料/粮油副食|食品工程/糖酒饮料/粮油副食"
    CCLOptions[ii][jj++] = "轻工类-陶瓷技术|陶瓷技术"
    CCLOptions[ii][jj++] = "轻工类-金银首饰加工|金银首饰加工"
    CCLOptions[ii++][jj++] = "轻工类-其它相关职位|其它相关职位"
    
    jj = 0
    // ii = 22
    CCLOptions[ii] = new Array()
    CCLOptions[ii][jj++] = "后勤保障类-请选择子类|请选择子类"
    CCLOptions[ii][jj++] = "后勤保障类-保安部经理|保安部经理"
    CCLOptions[ii][jj++] = "后勤保障类-消防主任|消防主任"
    CCLOptions[ii][jj++] = "后勤保障类-保安|保安"
    CCLOptions[ii][jj++] = "后勤保障类-车务经理/主管|车务经理/主管"
    CCLOptions[ii][jj++] = "后勤保障类-司机|司机"
    CCLOptions[ii][jj++] = "后勤保障类-寻呼/声讯服务|寻呼/声讯服务"
    CCLOptions[ii][jj++] = "后勤保障类-社区服务|社区服务"
    CCLOptions[ii][jj++] = "后勤保障类-搬运/清洁工/后勤|搬运/清洁工/后勤"
    CCLOptions[ii][jj++] = "后勤保障类-食堂厨师|食堂厨师"
    CCLOptions[ii++][jj++] = "后勤保障类-其它相关职位|其它相关职位"
    
    jj = 0
    // ii = 23
    CCLOptions[ii] = new Array()
    CCLOptions[ii][jj++] = "翻译类-请选择子类|请选择子类"
    CCLOptions[ii][jj++] = "翻译类-英语翻译|英语翻译"
    CCLOptions[ii][jj++] = "翻译类-日语翻译|日语翻译"
    CCLOptions[ii][jj++] = "翻译类-法语翻译|法语翻译"
    CCLOptions[ii][jj++] = "翻译类-德语翻译|德语翻译"
    CCLOptions[ii][jj++] = "翻译类-俄语翻译|俄语翻译"
    CCLOptions[ii][jj++] = "翻译类-朝鲜语翻译|朝鲜语翻译"
    CCLOptions[ii][jj++] = "翻译类-西班牙语翻译|西班牙语翻译"
    CCLOptions[ii++][jj++] = "翻译类-其它相关职位|其它相关职位"
    
    jj = 0
    // ii = 24
    CCLOptions[ii] = new Array()
    CCLOptions[ii][jj++] = "物流/贸易类-请选择子类|请选择子类"
    CCLOptions[ii][jj++] = "物流/贸易类-物流经理|物流经理"
    CCLOptions[ii][jj++] = "物流/贸易类-物流主管|物流主管"
    CCLOptions[ii][jj++] = "物流/贸易类-仓库经理/主管|仓库经理/主管"
    CCLOptions[ii][jj++] = "物流/贸易类-仓库管理员|仓库管理员"
    CCLOptions[ii][jj++] = "物流/贸易类-运输经理/主管|运输经理/主管"
    CCLOptions[ii][jj++] = "物流/贸易类-单证员|单证员"
    CCLOptions[ii][jj++] = "物流/贸易类-快递员|快递员"
    CCLOptions[ii][jj++] = "物流/贸易类-物流操作员|物流操作员"
    CCLOptions[ii][jj++] = "物流/贸易类-船务人员|船务人员"
    CCLOptions[ii][jj++] = "物流/贸易类-外销员|外销员"
    CCLOptions[ii][jj++] = "物流/贸易类-国际业务|国际业务"
    CCLOptions[ii][jj++] = "物流/贸易类-报关员|报关员"
    CCLOptions[ii++][jj++] = "物流/贸易类-其它相关职位|其它相关职位"
    
    jj = 0
    // ii = 25
    CCLOptions[ii] = new Array()
    CCLOptions[ii][jj++] = "咨询/顾问类-请选择子类|请选择子类"
    CCLOptions[ii][jj++] = "咨询/顾问类-企业策划/顾问|企业策划/顾问"
    CCLOptions[ii][jj++] = "咨询/顾问类-企业管理/企管顾问|企业管理/企管顾问"
    CCLOptions[ii][jj++] = "咨询/顾问类-涉外咨询师|涉外咨询师"
    CCLOptions[ii][jj++] = "咨询/顾问类-高级猎头顾问|高级猎头顾问"
    CCLOptions[ii][jj++] = "咨询/顾问类-咨询总监|咨询总监"
    CCLOptions[ii][jj++] = "咨询/顾问类-咨询经理|咨询经理"
    CCLOptions[ii][jj++] = "咨询/顾问类-咨询员|咨询员"
    CCLOptions[ii][jj++] = "咨询/顾问类-信息中介|信息中介"
    CCLOptions[ii][jj++] = "咨询/顾问类-专业顾问|专业顾问"
    CCLOptions[ii++][jj++] = "咨询/顾问类-其它相关职位|其它相关职位"

    jj = 0
    // ii = 26
    CCLOptions[ii] = new Array()
    CCLOptions[ii][jj++] = "法律专业人员类-请选择子类|请选择子类"
    CCLOptions[ii][jj++] = "法律专业人员类-律师|律师"
    CCLOptions[ii][jj++] = "法律专业人员类-法律顾问|法律顾问"
    CCLOptions[ii][jj++] = "法律专业人员类-法务人员|法务人员"
    CCLOptions[ii][jj++] = "法律专业人员类-律师助理|律师助理"
    CCLOptions[ii][jj++] = "法律专业人员类-书记员|书记员"
    CCLOptions[ii++][jj++] = "法律专业人员类-其它相关职位|其它相关职位"
    
    jj = 0
    // ii = 27
    CCLOptions[ii] = new Array()
    CCLOptions[ii][jj++] = "影视/摄影专业类-请选择子类|请选择子类"
    CCLOptions[ii][jj++] = "影视/摄影专业类-影视策划/制作人员|影视策划/制作人员"
    CCLOptions[ii][jj++] = "影视/摄影专业类-影音器材管理|影音器材管理"
    CCLOptions[ii][jj++] = "影视/摄影专业类-演员|演员"
    CCLOptions[ii][jj++] = "影视/摄影专业类-模特儿|模特儿"
    CCLOptions[ii][jj++] = "影视/摄影专业类-摄影师|摄影师"
    CCLOptions[ii][jj++] = "影视/摄影专业类-音效师|音效师"
    CCLOptions[ii][jj++] = "影视/摄影专业类-节目主持人|节目主持人"
    CCLOptions[ii++][jj++] = "影视/摄影专业类-其它相关职位|其它相关职位"
    
    jj = 0
    // ii = 28
    CCLOptions[ii] = new Array()
    CCLOptions[ii][jj++] = "编辑/发行类-请选择子类|请选择子类"
    CCLOptions[ii][jj++] = "编辑/发行类-总编|总编"
    CCLOptions[ii][jj++] = "编辑/发行类-副总编|副总编"
    CCLOptions[ii][jj++] = "编辑/发行类-编辑主任|编辑主任"
    CCLOptions[ii][jj++] = "编辑/发行类-编辑|编辑"
    CCLOptions[ii][jj++] = "编辑/发行类-美术编辑|美术编辑"
    CCLOptions[ii][jj++] = "编辑/发行类-发行主管|发行主管"
    CCLOptions[ii][jj++] = "编辑/发行类-发行助理|发行助理"
    CCLOptions[ii++][jj++] = "编辑/发行类-其它相关职位|其它相关职位"


    jj = 0
    // ii = 28
    CCLOptions[ii] = new Array()
    CCLOptions[ii][jj++] = "家具家电/工艺品礼品/玩具类-请选择子类|请选择子类"
    CCLOptions[ii][jj++] = "家具家电/工艺品礼品/玩具类-家具家电|家具家电"
    CCLOptions[ii][jj++] = "家具家电/工艺品礼品/玩具类-工艺品礼品|工艺品礼品"
    CCLOptions[ii][jj++] = "家具家电/工艺品礼品/玩具类-玩具|玩具"

    CCLOptions[ii++][jj++] = "家具家电/工艺品礼品/玩具类-其它相关职位|其它相关职位"
    
    
    jj = 0
    // ii = 29
    CCLOptions[ii] = new Array()
    CCLOptions[ii][jj++] = "其他类-请选择子类|请选择子类"
    CCLOptions[ii][jj++] = "其他类-交通运输|交通运输"
    CCLOptions[ii][jj++] = "其他类-声光技术|声光技术"
    CCLOptions[ii][jj++] = "其他类-生物技术|生物技术"
    CCLOptions[ii][jj++] = "其他类-测绘技术|测绘技术"
    CCLOptions[ii][jj++] = "其他类-激光技术|激光技术"
    CCLOptions[ii][jj++] = "其他类-地质勘探|地质勘探"
    CCLOptions[ii][jj++] = "其他类-矿产冶金|矿产冶金"
    CCLOptions[ii][jj++] = "其他类-环境工程|环境工程"
    CCLOptions[ii][jj++] = "其他类-市政建设/子类规划|市政建设/子类规划"
    CCLOptions[ii][jj++] = "其他类-农、林、牧、渔、其他|农、林、牧、渔、其他"
    CCLOptions[ii++][jj++] = "其他类-其它相关职位|其它相关职位"

    ii = 0
    jj = 0
}

// Job Category Associate List Object
function JobCategoryAssociateList(instance, parent, child, optionList)
{
    this.parent           = parent;              // 父选择框
    this.child            = child;               // 子选择框

    this.instance         = instance;            // 与对象关联的选择框实例

    this.optionList       = optionList;          // 选择框选项列表
    this.initValue        = null;                // 选择框初始值
    
    this.addedOptions     = null;                // 附加选项

    this.incPValue        = false;               // 包含父值
    this.incPValueFormat  = "%PText%";           // 包含父值的选项的文本格式

    this.allowEmpty       = false;               // 允许空选项列表

    this.init             = InitJobCategorySelector;   // 初始化方法
    this.SetSelectedValue = SetSelectedValue;          // 设置选中值方法

    this.instance.associateObject = this;       // 关联对象与选择框
}

// 选择列表初始化方法
function InitJobCategorySelector()
{
    if( this.instance )                                         // 实例存在
    {
        var i, aIndex, aLength, aValueText;
        if( this.child )                                        // 子选择框存在, 则实例为父选择框
        {
           this.instance.length = 0;                           // 清空实例
            if( this.addedOptions != null )                     // 附加选项
            {
                for( i = 0; i<this.addedOptions.length; i++ )
                {
                    aValueText = this.addedOptions[i].split("|");
                    if( aValueText.length > 0 )                 // 添加选项
                    {
                        this.instance.options[this.instance.length] = new Option(aValueText[1], aValueText[0]);
                        if( aValueText[0] == this.initValue )   // 选中初始值
                            this.instance.options[this.instance.length-1].selected = true;
                    }
                }
            }
            for( i = 0; i<this.optionList.length; i++ )
            {
                aValueText = this.optionList[i].split("|");
                if( aValueText.length > 0 )                     // 添加选项
                {
                    this.instance.options[this.instance.length] = new Option(aValueText[1], aValueText[0]);
                    if( aValueText[0] == this.initValue )       // 选中初始值
                        this.instance.options[this.instance.length-1].selected = true;
                }
            }
            this.instance.onchange = parentCategoryChanged;
        }
        else if( this.parent )                                  // 父选择框存在, 则实例为子选择框
        {
			this.parent.onchange();
        }
    }
}

// 父选择列表值改变事件方法
function parentCategoryChanged()
{
    if( this.associateObject )
    {
        var i, aLength, aObject, aChildObject, aIndex, aValueText;
        var aParentValue, aParentText;

        aObject = this.associateObject;
        aChildObject = aObject.child.associateObject;
        aParentValue = this.options[this.selectedIndex].value;
        aParentText  = this.options[this.selectedIndex].text;
        aLength = 0;

        aObject.child.length = 0;                               // 清空实例

        if( aObject.addedOptions )                              // 父选择框附加选项数
            aLength = aObject.addedOptions.length;

        if( this.selectedIndex >= aLength )                     // 父选择框选中项不在附加选项中
        {
            aIndex = this.selectedIndex - aLength;
            if( aChildObject.incPValue )                            // 包含父值
            {
                aObject.child.options[aObject.child.length] = new Option(
                    aChildObject.incPValueFormat.replace("%PText%", this.options[this.selectedIndex].text),
                    aParentValue);
                if( aParentValue == aChildObject.initValue )       // 选中初始值
                    aObject.child.options[aObject.child.length-1].selected = true;
            }

            for( i=0; i<aChildObject.optionList[aIndex].length; i++ )
            {
                aValueText = aChildObject.optionList[aIndex][i].split("|");
                if( aValueText.length > 0 && aValueText[0] != aParentValue)       // 添加选项
                {
                    aObject.child.options[aObject.child.length] = new Option(aValueText[1], aValueText[0]);
                    if( aValueText[0] == aChildObject.initValue )       // 选中初始值
                        aObject.child.options[aObject.child.length-1].selected = true;
                }
            }
            if( !aChildObject.allowEmpty && aObject.child.length == 0)
            {
                aObject.child.options[aObject.child.length] = new Option(aParentText, aParentValue);
            }
        }
        else
        {
            if( aChildObject.addedOptions != null )                  // 附加选项
            {
                for( i = 0;i<aChildObject.addedOptions.length; i++ )
                {
                    aValueText = aChildObject.addedOptions[i].split("|");
                    if( aValueText.length > 0 )                 // 添加选项
                    {
                        aObject.child.options[aObject.child.length] = new Option(aValueText[1], aValueText[0]);
                        if( aValueText[0] == aChildObject.initValue )   // 选中初始值
                            aObject.child.options[aObject.child.length-1].selected = true;
                    }
                }
            }
        }
    }
}

function SetSelectedValue(aValue, aWantProcessed)
{
    if( this.instance )
    {
        var optionValue = aValue;
        if( aWantProcessed )
        {
            var optionValues = optionValue.split("-");
            if( optionValues.length > 0 )
                optionValue = optionValues[0] + "-";
        }
       for( i = 0;i<this.instance.options.length; i++ )
        {
           if( this.instance.options[i].value == optionValue )
            {
                this.instance.options[i].selected = true;
                if( this.child )
                {
					this.instance.onchange();
                    this.child.associateObject.SetSelectedValue(aValue, false);
                }
                break;
            }
        }
    }
}